﻿using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace SIMS.SqlSugarWebApi.Models
{
    public class User
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        [SugarColumn(Length = 50)]
        public string UserName { get; set; }

        [SugarColumn(Length = 50)]
        public string Password { get; set; }

        [SugarColumn(Length = 50)]
        public string NickName { get; set; }
    }
}
